package org.example.bulletin.entity.dto;

public class Bulletindto {
    private Integer id;//id,自动递增
    private String title;//标题
    private Integer contentId;//内容id
    private String createTime;//发布时间
    private Integer top;//是否置顶，0置顶，1不置顶

    public Bulletindto() {
    }

    private String guserName;//管理员名称
    private String content;
    public Integer getId() {
        return id;
    }

    public Bulletindto(Integer id, String title, Integer contentId, String createTime, Integer top, String guserName, String content) {
        this.id = id;
        this.title = title;
        this.contentId = contentId;
        this.createTime = createTime;
        this.top = top;
        this.guserName = guserName;
        this.content = content;
    }

    public Bulletindto(String title, Integer top, String guserName, String content) {
        this.title = title;
        this.top = top;
        this.guserName = guserName;
        this.content = content;
    }

    public Bulletindto(Integer id, String title, String createTime, Integer top, String guserName, String content) {
        this.id = id;
        this.title = title;
        this.createTime = createTime;
        this.top = top;
        this.guserName = guserName;
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public String getGuserName() {
        return guserName;
    }

    public void setGuserName(String guserName) {
        this.guserName = guserName;
    }
}
